<?php

/**
 * Description of Asset Form Fields
 *
 * @author Admin
 */
class Asset_Resource_Assetdetails extends WOW_Model_Resource_Db_Table_Abstract implements
Asset_Resource_Assetdetails_Interface
{
    protected $_name = 'user_asset_details';
    protected $_primary = 'id';
    protected $_rowClass = 'Asset_Resource_Assetdetails_Item';
    protected $_dependentTables = array('Asset_Resource_Assetliability');
    
    public function getAssetDetailsByAssetId($assetid)
    {
        $select = $this->select()
                       ->where('assetid = ?', $assetid);

        return $this->fetchAll($select);
    }
    
}
?>

